Smartcat\Includes\Services\App\TranslationRequestService A

Total Complexity 68
Dependencies 9
Dependents 2
Total lines 641
Lines of code 436
Logical lines of code 176
Comment lines 42
Methods 25
Properties 5

Methods 25

Method Rating Maintainability Complexity Lines of code
sendPostToSmartcat()
A
42 7 52
updateDocumentsProgress()
A
48 8 34
exportContentFromSmartcat()
A
44 7 46
list()
S
45 5 43
create()
S
48 4 34
exportTranslations()
S
56 4 19
sendContentToSmartcat()
S
58 4 16
checkTranslationRequestProject()
S
59 4 14
addComment()
S
60 4 14
resetInvalidProject()
S
63 3 11
info()
S
54 2 23
tryInitTranslationRequest()
S
64 2 11
addLanguage()
S
56 1 20
updateSourceContent()
S
57 1 17
updateDeadline()
S
66 2 10
totalRequests()
S
69 1 7
find()
S
74 1 5
getTranslationsByPostAndLocale()
S
71 1 6
removePost()
S
65 1 9
createSmartcatProject()
S
66 1 10
fetchProject()
S
69 1 8
remove()
S
67 1 8
removeLanguage()
S
65 1 9
getTranslationRequestIds()
S
80 1 3
__construct()
S
69 1 7